@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.container {
  padding: 20px;
}
// operate button in table
.tb-btn-operate {padding: 5px 10px !important;}

.tb-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

// mini滚动条样式
::-webkit-scrollbar-track-piece {background: #efefef;}

::-webkit-scrollbar{
  width: 8px !important;
  height: 8px !important;
  background:transparent;
}
// ::-webkit-scrollbar:hover {background: rgba(128, 128, 128, 0.2);}
::-webkit-scrollbar-thumb {
  // border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background-color: rgba(144,147,153,.3) !important;
  z-index: 2147483647;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  background-clip: content-box;
  transition: .3s background-color;
  cursor: pointer;
}
// ::-webkit-scrollbar-corner {
//   background: rgba(255, 255, 255, 0.3);
//   border: 1px solid transparent
// }
::-webkit-scrollbar-thumb:hover {background-color: rgba(144,147,153,.5) !important;}
// ::-webkit-scrollbar-thumb:active {background-color: rgba(144,147,153,.4) !important}
::-webkit-scrollbar-corner {background-color: rgba(144,147,153,.15) !important;}